package com.cuitrip.component.popupmenu;

import com.lab.adapter.IAdapterData;

/**
 * Created by ak
 */
public class PopupMenuItem implements IAdapterData {

    // 标题
    private String mTitle;
    private String id;

    // 是否需要底部线
    private boolean mNeedBottomLine = true;

    //是否选中
    private boolean mSelected=false;

    public PopupMenuItem(String title) {
        mTitle = title;
    }

    public PopupMenuItem(String id, String title) {
        this.id = id;
        this.mTitle = title;
    }


    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public boolean isNeedBottomLine() {
        return mNeedBottomLine;
    }
    public void setNeedBottomLine(boolean needBottomLine) {
        mNeedBottomLine = needBottomLine;
    }

    //是否选中
    public boolean isSelected(){
        return mSelected;
    }

    public void setSelected(boolean isSelected){
        mSelected=isSelected;
    }


}
